<table class="<?=$class?>">
	<thead>
		<tr>
			<th><?=lang('job_number')?></th>
			<th><?=lang('job_city')?></th>
			<th><?=lang('job_company')?></th>
			<th><?=lang('job_type')?></th>
			<th><?=lang('job_position')?></th>
			<th><?=lang('job_count')?></th>
			<th><?=lang('job_salary')?></th>
			<th><?=lang('job_apply_expire_time')?></th>
		</tr>
	</thead>
	<tbody> 
		<?php foreach($jobs as $job):?>
		<tr>
			<td>
				<a href="<?=_U('job/show/'.$job->id)?>"><?=$job->number?></a>
			</td>
			<td><? $citys = lang('global_city'); echo $citys[$job->city]?></td> 
			<td><?=$this->current_user()==null?$job->company_prompt_name:$job->company_name?></td>
			<td><? $types = lang('job_type_items'); echo $types[$job->type]?></td> 
			<td>
				<!--<? $positions = lang('job_position_items'); echo $positions[$job->type]?>-->
				<?=$job->position?>
			</td>
			<td><?=$job->count_male + $job->count_female?></td> 
			<td><?=$job->salary?></td>
			<td align='center'><?=Date('Y-m-d',strtotime($job->apply_expire_time))?></td>
		</tr>
		<?php endforeach;?>
	<tbody>
</table>